import { _decorator, Component, Label, Node } from 'cc';
import { UserInfo } from '../common/UserInfo';
const { ccclass, property } = _decorator;

@ccclass('PalaceLoyalty')
export class PalaceLoyalty extends Component {
    @property(Label)
    faith:Label

    start() {

        this.faith.string = UserInfo.instance.villageData.faithful + '%'
    }

   
}


